﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebUI.Models.BusinessModels
{
    public static class Mapper
    {
        public static BaMeVNAHModel ToModel(this BusinessObjects.BaMeVNAHDto baMeVnah)
        {
            return new BaMeVNAHModel
                       {
                           Id = baMeVnah.Id,
                           IdLoaiDoiTuong = baMeVnah.IdLoaiDoiTuong
                       };
        }


    }
}